Repository navigation
cf.from_xarray and cf.to_xarray - #980
Merged
Merged
Conversation
sadielbartholomew
approved these changes
Nov 24, 2026
Member
There was a problem hiding this comment.
Brill. Only comment is that there are some test methods and their docstrings in test_xarray that could do with updating to reflect these new function-level not method-level xarray to/from utilities:
$ pwd
/home/slb93/git-repos/cf-python/cf
$ git grep "Field.to_xarray" | cat ─╯
test/test_xarray.py: def test_Field_to_xarray(self):
test/test_xarray.py: """Test Field.to_xarray."""
test/test_xarray.py: def test_Field_to_xarray_from_disk(self):
test/test_xarray.py: """Test Field.to_xarray on datasets read from disk."""
test/test_xarray.py: def test_Field_to_xarray_groups(self):
test/test_xarray.py: """Test Field.to_xarray with groups."""Perfect other than that so please merge when ready!
Collaborator
Author
|
doc strings done: a7d7acf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #978